#pragma once

#include "TG_SvrNetSDK.h"

class TGSvrNetCfg
{
public:
	TGSvrNetCfg(void);
	~TGSvrNetCfg(void);

public:
	int RegCheckUserCallBack(SvrNetCheckUserCBFun funCallBack,void *pContext);
  

	int RegSetConfigCallBack(SvrNetSetConfigCBFun funCallBack,void *pContext);
	int RegGetConfigCallBack(SvrNetGetConfigCBFun funCallBack,void *pContext);

	int RegRealStreamCallBack(SvrNetRealStreamCBFun funCallBack,void *pContext);
	int RegRealStreamItemCallBack(SvrNetRealStreamItemCBFun funCallBack,void *pContext);


public:
	
	struct stCheckUser
	{
		SvrNetCheckUserCBFun funCallBack;
		void                *pContext;
	};
	stCheckUser m_xCheckUser;


	struct stSetConfig
	{
		SvrNetSetConfigCBFun funCallBack;
		void                *pContext;
	};
	stSetConfig m_xSetConfig;

	struct stGetConfig
	{
		SvrNetGetConfigCBFun funCallBack;
		void                *pContext;
	};
	stGetConfig m_xGetConfig;

	

	struct stRealStream
	{
		SvrNetRealStreamCBFun funCallBack;
		void                 *pContext;
	};
	stRealStream m_xRealStream;

	struct stRealStreamItem
	{
		SvrNetRealStreamItemCBFun funCallBack;
		void                      *pContext;
	};
	stRealStreamItem m_xRealStreamItem;




};